package com.minjie.mapper;

import com.minjie.pojo.Task;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskMapper {
    void insertTask(Task task);
    List<Task> getTasksByUserId(Integer id);
    void updateTask(Task task);
}
